package com.collectplus.express.model;

import java.io.Serializable;

import droid.frame.utils.lang.Str;

/**
 * Created by joker on 2017/12/29.
 * 同城支付界面包裹相关
 */
public class SameCityPriceOrderBean implements Serializable {

    private double startPrice;//起始价格
    private String weightDesc;//重量描述
    private double distance;//距离
    private String distanceDesc;//距离描述
    private double distancePrice;//距离的价钱
    private String timeDesc;//时间描述
    private double weight;//重量
    private double weightPrice;//重量价格
    private double totalPrice;//总共的价格
    private String distanceTotalDesc;//总共距离描述
    private double distanceTotal;//总共距离
    private double weightTotal;//总共重量
    private String weightTotalDesc;//总共重量描述

    public double getStartPrice() {
        return Double.parseDouble(Str.roundByScale(startPrice, 1));
    }

    public void setStartPrice(double startPrice) {
        this.startPrice = startPrice;
    }

    public String getWeightDesc() {
        return weightDesc;
    }

    public void setWeightDesc(String weightDesc) {
        this.weightDesc = weightDesc;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public String getDistanceDesc() {
        return distanceDesc;
    }

    public void setDistanceDesc(String distanceDesc) {
        this.distanceDesc = distanceDesc;
    }

    public double getDistancePrice() {
        return Double.parseDouble(Str.roundByScale(distancePrice, 1));
    }

    public void setDistancePrice(double distancePrice) {
        this.distancePrice = distancePrice;
    }

    public String getTimeDesc() {
        return timeDesc;
    }

    public void setTimeDesc(String timeDesc) {
        this.timeDesc = timeDesc;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getWeightPrice() {
        return Double.parseDouble(Str.roundByScale(weightPrice, 1));
    }

    public void setWeightPrice(double weightPrice) {
        this.weightPrice = weightPrice;
    }

    public double getTotalPrice() {
        return Double.parseDouble(Str.roundByScale(totalPrice, 1));
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getDistanceTotalDesc() {
        return distanceTotalDesc;
    }

    public void setDistanceTotalDesc(String distanceTotalDesc) {
        this.distanceTotalDesc = distanceTotalDesc;
    }

    public double getDistanceTotal() {
        return distanceTotal;
    }

    public void setDistanceTotal(double distanceTotal) {
        this.distanceTotal = distanceTotal;
    }

    public double getWeightTotal() {
        return weightTotal;
    }

    public void setWeightTotal(double weightTotal) {
        this.weightTotal = weightTotal;
    }

    public String getWeightTotalDesc() {
        return weightTotalDesc;
    }

    public void setWeightTotalDesc(String weightTotalDesc) {
        this.weightTotalDesc = weightTotalDesc;
    }
}
